package inabit.inabitcompiler.productions.variable;

import inabit.compiler.parser.grammar.NonTerminal;
import inabit.compiler.parser.grammar.Production;
import inabit.compiler.parser.grammar.Symbol;

/**Var -> VV'*/
/**@author Rafael Rocha*/
public class Var_Rule extends Production{

	private NonTerminal V;
	private NonTerminal V1;
	
	public Var_Rule() {
		super("Var");
	}

	@Override
	protected Symbol[] production(NonTerminal nonTerminal) {
		V = new NonTerminal("V");
		V1 = new NonTerminal("V'");
		
		Symbol[] symbols = {
				V,
				V1
		};
		return symbols;
	}

}
